7.7
HIGH CVSS 3.1
CVE-2026-25157
OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand
Description

OpenClaw is a personal AI assistant. Prior to version 2026.1.29, there is an OS command injection vulnerability via the Project Root Path in sshNodeCommand. The sshNodeCommand function constructed a shell script without properly escaping the user-supplied project path in an error message. When the cd command failed, the unescaped path was interpolated directly into an echo statement, allowing arbitrary command execution on the remote SSH host. The parseSSHTarget function did not validate that SSH target strings could not begin with a dash. An attacker-supplied target like -oProxyCommand=... would be interpreted as an SSH configuration flag rather than a hostname, allowing arbitrary command execution on the local machine. This issue has been patched in version 2026.1.29.

INFO

Published Date :

Feb. 4, 2026, 8:16 p.m.

Last Modified :

Feb. 13, 2026, 2:33 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-25157 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apple macos
1 Openclaw openclaw
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Update OpenClaw to version 2026.1.29 or later to fix command injection vulnerabilities.
  • Update OpenClaw to version 2026.1.29.
  • Apply patches for OpenClaw.
  • Validate SSH target strings.
Public PoC/Exploit Available at Github

CVE-2026-25157 has a 27 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-25157.

URL Resource
https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-25157 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

OpenClaw_Security_Auditor

JavaScript Shell TypeScript

Updated: 1 week, 1 day ago
1 stars 0 fork 0 watcher
Born at : March 11, 2026, 5:38 a.m. This repo has been linked 5 different CVEs too.

Self-check and hardening tools for OpenClaw deployments before public exposure

Updated: 1 week, 1 day ago
1 stars 0 fork 0 watcher
Born at : March 9, 2026, 6:39 a.m. This repo has been linked 3 different CVEs too.

An OpenClaw Skills utility for self-checking common attack surfaces exposed by improper OpenClaw operations or hallucinations (continuously updated)

Updated: 1 week, 4 days ago
1 stars 0 fork 0 watcher
Born at : March 8, 2026, 10:13 a.m. This repo has been linked 3 different CVEs too.

Secure Openclaw

JavaScript Shell TypeScript HTML Swift

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : March 7, 2026, 11:11 p.m. This repo has been linked 2 different CVEs too.

OpenClaw Security Hardening Guide | OpenClaw AI Agent 安全加固指南 — CVE Analysis, Incident Case Studies, 7-Layer Hardening Framework, Automation Scripts

Shell

Updated: 1 week, 6 days ago
0 stars 0 fork 0 watcher
Born at : March 6, 2026, 9:46 a.m. This repo has been linked 8 different CVEs too.

全面的安全防护套件,为OpenClaw AI助手提供企业级安全保护

Python Dockerfile HTML TypeScript CSS

Updated: 19 hours, 56 minutes ago
3 stars 0 fork 0 watcher
Born at : March 3, 2026, 6:14 a.m. This repo has been linked 44 different CVEs too.

Security auditor, CVE scanner, and skill analyzer for OpenClaw gateways

TypeScript JavaScript

Updated: 2 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : March 1, 2026, 11:38 p.m. This repo has been linked 3 different CVEs too.

Security-hardened AI agent platform addressing OpenClaw/Moltbot vulnerabilities (CVE-2026-25253)

Dockerfile TypeScript JavaScript

Updated: 3 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 20, 2026, 3:13 p.m. This repo has been linked 2 different CVEs too.

Security-first AI agent for WhatsApp. Built as an answer to OpenClaw's architecture.

ai-agent llm openclaw prompt-injection python security typescript whatsapp

Dockerfile Python TypeScript Shell HTML

Updated: 1 month ago
1 stars 0 fork 0 watcher
Born at : Feb. 19, 2026, 7:05 p.m. This repo has been linked 3 different CVEs too.

Tracking OpenClaw CVEs

Python Jinja

Updated: 1 day, 20 hours ago
102 stars 3 fork 3 watcher
Born at : Feb. 18, 2026, 4:58 p.m. This repo has been linked 17 different CVEs too.

None

Dockerfile Shell JavaScript TypeScript Swift HTML CSS Kotlin Ruby Go

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 16, 2026, 6:14 p.m. This repo has been linked 2 different CVEs too.

None

TypeScript Dockerfile Swift Shell Kotlin Ruby HTML JavaScript Go Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 16, 2026, 6:38 a.m. This repo has been linked 2 different CVEs too.

None

PowerShell Shell

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 16, 2026, 1:12 a.m. This repo has been linked 3 different CVEs too.

Open-source infrastructure scanner for AI agents. Scan instances, audit skills.

Shell Makefile Python YARA

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 15, 2026, 8:01 a.m. This repo has been linked 3 different CVEs too.

None

Python Dockerfile Makefile

Updated: 3 weeks, 2 days ago
2 stars 0 fork 0 watcher
Born at : Feb. 14, 2026, 9:57 p.m. This repo has been linked 3 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-25157 vulnerability anywhere in the article.

  • TheCyberThrone
OpenClaw: The Open-Source AI Agent Rewriting the Threat Landscape

What Is OpenClaw?OpenClaw — previously known as Clawdbot (launched November 2025) and then renamed Moltbot after trademark disputes — is an open-source, self-hosted autonomous private AI agent that ru ... Read more

Published Date: Mar 18, 2026 (2 days ago)
  • The Hacker News
ClawJacked Flaw Lets Malicious Sites Hijack Local OpenClaw AI Agents via WebSocket

OpenClaw has fixed a high-severity security issue that, if successfully exploited, could have allowed a malicious website to connect to a locally running artificial intelligence (AI) agent and take ov ... Read more

Published Date: Feb 28, 2026 (2 weeks, 5 days ago)
  • Kaspersky
Key OpenClaw risks, Clawdbot, Moltbot | Kaspersky official blog

Everyone has likely heard of OpenClaw, previously known as “Clawdbot” or “Moltbot”, the open-source AI assistant that can be deployed on a machine locally. It plugs into popular chat platforms like Wh ... Read more

Published Date: Feb 16, 2026 (1 month ago)
  • CybersecurityNews
15,200 OpenClaw Control Panels with Full System Access Exposed to the Internet

OpenClaw Control Panels Exposed A critical security failure in the rapidly adopting “agentic AI” ecosystem has left tens of thousands of personal and corporate AI assistants fully exposed to the publi ... Read more

Published Date: Feb 10, 2026 (1 month, 1 week ago)
  • The Register
More than 135,000 OpenClaw instances exposed to internet in latest vibe-coded disaster

It's a day with a name ending in Y, so you know what that means: Another OpenClaw cybersecurity disaster. This time around, SecurityScorecard's STRIKE threat intelligence team is sounding the alarm ov ... Read more

Published Date: Feb 09, 2026 (1 month, 1 week ago)

The following table lists the changes that have been made to the CVE-2026-25157 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
    Added CPE Configuration AND OR *cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* versions up to (excluding) 2026.1.29 OR cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
    Added Reference Type GitHub, Inc.: https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 Types: Vendor Advisory
  • New CVE Received by [email protected]

    Feb. 04, 2026

    Action Type Old Value New Value
    Added Description OpenClaw is a personal AI assistant. Prior to version 2026.1.29, there is an OS command injection vulnerability via the Project Root Path in sshNodeCommand. The sshNodeCommand function constructed a shell script without properly escaping the user-supplied project path in an error message. When the cd command failed, the unescaped path was interpolated directly into an echo statement, allowing arbitrary command execution on the remote SSH host. The parseSSHTarget function did not validate that SSH target strings could not begin with a dash. An attacker-supplied target like -oProxyCommand=... would be interpreted as an SSH configuration flag rather than a hostname, allowing arbitrary command execution on the local machine. This issue has been patched in version 2026.1.29.
    Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
    Added CWE CWE-78
    Added Reference https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.